package com.sky.mapper.admin;

import com.sky.Do.ReportDo;
import com.sky.dto.GoodsSalesDTO;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

public interface ReportMapper {

    Double getOrderBusinessByMap(Map<String,Object> map);

    List<Long> getUserIdOfCompltedOrderOnCurrenDateByMap(Map<String, Object> map);

    List<Long> getNewUserIdOfCompltedOrderOnCurrenDateByMap(Map<String, Object> map);

    Long getUserCountByTime(LocalDateTime beginTime, LocalDateTime endTime);

    Integer getOrderCountByReprotDo(ReportDo reportDo);



    List<GoodsSalesDTO> getTop10GoodsInfoListByTimeLine(LocalDateTime beginDateTime ,LocalDateTime endDateTime);


}






